$def with(stations)
<h3 class="page-title">监测站管理</h3>
<div class="btn-toolbar">
    <a href="/stations/new" class="btn btn-primary"><i class="icon-plus"></i> 新增监测站</a>

</div>
<div class="">
    <table class="table  table-striped table-bordered rounded-corner">
      <thead>
        <tr>
          <th>ID</th>
          <th>名称</th>
          <th style="width: 106px;"></th>
        </tr>
      </thead>
      <tbody>
      $for station in stations:
	    <tr>
	        <td>$station.id</td>
	        <td>$station.name</td>
	        <td>
              <a href="/stations/$station.id/edit"><i class="icon-pencil"></i>编辑</a>
              <a href="/stations/$station.id/delete" onClick="return confirm('确定删除?');"><i class="icon-remove"></i>删除</a>
          </td>
	    </tr>
        
      </tbody>
    </table>
</div>

